package com.xiaoyun.alllearning.service;

import java.io.File;
import java.io.InputStream;

public interface FileService {

    /**
     *
     * @param inputStream
     * @param filename
     */
    void upload(InputStream inputStream, String filename);

    /**
     * @param file
     */
    void upload(File file);
}
